/**
 * @author Austin Andrews (Templarian)
 * @authorurl http://templarian.com
 * @framework DD Framework
 * @licence MIT License
 * @licenceurl http://ddframework.googlecode.com/svn/trunk/license.txt
 * @overview The message module handles a basic subscribe and unsubscribe
 * pattern, with a send message.
 */
dd.message({
    /**
     * Shorthand: Use as a function to make data requests with both get and post data.
     * @namespace dd.message
     * @function
     *  Use to call a subscribed message.
     *  @param message {string} Message id to be called
     *  @returns {object} Determined by subscriber.
     *  ```javascript
     *  dd.message("message");
     *  ```
     * @function
     *  Shorthand: Use to subscribe to a message.
     *  ```javascript
     *  dd.message("message");
     *  ```
     * @function
     *  Shorthand: Use to unsubscribe to a message.
     *  ```javascript
     *  dd.message("message");
     *  ```
     */
    func: function()
    {
        
    },
    /**
     * Send
     */
    send: function()
    {
        
    },
    /**
     * Subscribe
     * todo: pass scope to handle subscribe/unsubscribe
     */
    subscribe: function()
    {
        
    },
    /**
     * Unsubscribe
     * todo: This needs to hand know which one to unsubscribe
     * require the scope?
     */
    unsubscribe: function()
    {
        
    }
});